.class Lcom/waiqin365/lightapp/syorder/u;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/u;->a:Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/u;->a:Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v0

    const-string/jumbo v1, "1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/syorder/d/a;->p:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/u;->a:Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/u;->a:Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v1

    iput-object v0, v1, Lcom/waiqin365/lightapp/syorder/d/a;->r:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/u;->a:Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/syorder/u;->a:Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->o(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Lcom/waiqin365/base/db/offlinedata/m;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/m;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/base/db/offlinedata/m;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/syorder/d/a;->s:Ljava/lang/String;

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd hh:mm"

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    new-instance v1, Ljava/util/Date;

    invoke-direct {v1}, Ljava/util/Date;-><init>()V

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/u;->a:Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v1

    iput-object v0, v1, Lcom/waiqin365/lightapp/syorder/d/a;->q:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/syorder/u;->a:Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/u;->a:Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->a(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;)Lcom/waiqin365/lightapp/syorder/d/a;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;->c(Lcom/waiqin365/lightapp/syorder/SyOrderDetailActivity;Lcom/waiqin365/lightapp/syorder/d/a;)V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0c0066
        :pswitch_0
    .end packed-switch
.end method
